﻿using System;
using System.Collections.Generic;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    /// <summary>
    /// 物料扩展数据表
    /// </summary>
    public partial class TMaterialExtDatum
    {
        /// <summary>
        /// 数据Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 扩展字段Id
        /// </summary>
        public int FieldId { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string? FieldName { get; set; }
        public long MaterialId { get; set; }
        /// <summary>
        /// 字段控件类型：1-文本框；2-单选框；3-多选框；4-下拉框；5-多行文本框；6-时间控件
        /// </summary>
        public int? ControlType { get; set; }
        /// <summary>
        /// 输入方式：0-手动输入或选择；1-绑定数据源
        /// </summary>
        public int? InputWay { get; set; }
        /// <summary>
        /// 是否下拉树
        /// </summary>
        public bool? IsTree { get; set; }
        /// <summary>
        /// 对应字典类型Id，仅数据绑定下拉框用
        /// </summary>
        public int? BindDictTypeId { get; set; }
        public string? FieldData { get; set; }
        public string? FieldValues { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int DisplayOrder { get; set; }
        public DateTime CreateDate { get; set; }
        public int? CreateUserId { get; set; }
        public string? CreateUserName { get; set; }
        public string? FieldCode { get; set; }
        public int? MaterialKeyId { get; set; }
    }
}
